<?php /* Smarty version Smarty-3.1.15, created on 2017-09-23 16:44:11
         compiled from "D:\git\family_group\uploads\include\template\panel\travel_bill_add.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3243259b2b7a34bd3a5-57566323%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'bb8a5d58b08fc31a309ac933bea3905b8dc171b5' => 
    array (
      0 => 'D:\\git\\family_group\\uploads\\include\\template\\panel\\travel_bill_add.tpl',
      1 => 1506155989,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3243259b2b7a34bd3a5-57566323',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_59b2b7a34e0624_42628419',
  'variables' => 
  array (
    'osadmin_action_alert' => 0,
    'osadmin_quick_note' => 0,
    'tb_id_posts' => 0,
    'tb_info' => 0,
    'type_list' => 0,
    '_POST' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59b2b7a34e0624_42628419')) {function content_59b2b7a34e0624_42628419($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'D:\\git\\family_group\\uploads\\include\\config/../../include/lib/Smarty/plugins\\function.html_options.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->

<?php echo $_smarty_tpl->tpl_vars['osadmin_action_alert']->value;?>

<?php echo $_smarty_tpl->tpl_vars['osadmin_quick_note']->value;?>

    
<div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请填写订单</a></li>
    </ul>	
	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">
		   
           <form id="tab" method="post" action="" autocomplete="off" enctype="multipart/form-data">
           		<?php  $_smarty_tpl->tpl_vars['tb_info'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tb_info']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['tb_id_posts']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tb_info']->key => $_smarty_tpl->tpl_vars['tb_info']->value) {
$_smarty_tpl->tpl_vars['tb_info']->_loop = true;
?>	
       			<tr>
				<label>账单编号</label>
				<input type="text" name="tb_id" value="<?php echo $_smarty_tpl->tpl_vars['tb_info']->value['max_id']+1;?>
" readonly="readonly" class="input-xlarge" required="true" >
				<label>账单日期</label>
				<input type="text" name="tb_date" value="<?php echo date('Y-m-d H:i:s');?>
" readonly="readonly" class="input-xlarge"  required="true" >
				<label>收入或者支出</label>
				<?php echo smarty_function_html_options(array('name'=>'tb_type','id'=>"DropDownTimezone",'class'=>"input-xlarge",'options'=>$_smarty_tpl->tpl_vars['type_list']->value["bill_type"],'selected'=>0),$_smarty_tpl);?>

				<label>账单提供人名字</label>
				<input type="text" name="tb_provide_name" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['tb_provide_name'];?>
" class="input-xlarge" required="true">
				<label>账单提供人编号</label>
				<input type="text" name="tb_provide_id" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['tb_provide_id'];?>
" class="input-xlarge" required="true">
				<label>收入的订单编号</label>
				<input type="text" name="tb_order_id" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['tb_order_id'];?>
" class="input-xlarge" required="true">
				<label>支出发票照片</label>
				<input type="file" name="tb_cost_photo" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['tb_cost_photo'];?>
" class="input-xlarge" required="true">
				<label>账单说明</label>
				<input type="text" name="tb_remark" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['tb_remark'];?>
" class="input-xlarge" required="true">
				</tr>
				<?php } ?>
			<div class="btn-toolbar">
				<button type="submit" class="btn btn-primary"><strong>提交</strong></button>
				<div class="btn-group"></div>
			</div>
				
			</form>
	
        </div>
       
    </div>
</div>
<!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
